def my_range(start, stop, step=1):
    cur = start
    while cur < stop:
        yield cur
        cur += step


for i in my_range(1, 10, 1):
    print(i, end=" ")
print("\n")
"""
1 2 3 4 5 6 7 8 9
"""
